import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from "./router/index.js";
import {wsStore } from '@/store/ws.js'
import {createPinia} from "pinia";
import 'element-plus/dist/index.css'
const store = createPinia()

const app = createApp(App);
// 使用状态管理机
app.use(store)
app.use(router)
app.config.globalProperties.$socket= wsStore


app.mount('#app')
